/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package reader;

/**
 *
 * @author Administrator
 */
public class Property {

    private char  numberOfQuestion;
    private char ansverNumber;
    private char nextQuestion;
    private String QuestionType;

    public Property() {
    }

    public Property(char numberOfQuestion, char ansverNumber, char nextQuestion, String QuestionType) {
        this.numberOfQuestion = numberOfQuestion;
        this.ansverNumber = ansverNumber;
        this.nextQuestion = nextQuestion;
        this.QuestionType = QuestionType;
    }

    public String getQuestionType() {
        return QuestionType;
    }

    public void setQuestionType(String QuestionType) {
        this.QuestionType = QuestionType;
    }

    public char getAnsverNumber() {
        return ansverNumber;
    }

    public void setAnsverNumber(char ansverNumber) {
        this.ansverNumber = ansverNumber;
    }

    public char getNextQuestion() {
        return nextQuestion;
    }

    public void setNextQuestion(char nextQuestion) {
        this.nextQuestion = nextQuestion;
    }

    public char getNumberOfQuestion() {
        return numberOfQuestion;
    }

    public void setNumberOfQuestion(char numberOfQuestion) {
        this.numberOfQuestion = numberOfQuestion;
    }

   

    @Override
    public String toString() {
        return getNumberOfQuestion()+getAnsverNumber()+getNextQuestion()+getQuestionType();
    }

    

}
